package model.monde;

public class Humain extends Vivant {
	/* Attributs */
	private Bag bag;
	private int bonus; // Points a repartir dans les carac (type exp)

	/* Constructeurs */
	public Humain(String name)
	{
		super(name);
	}

	public Humain(String name, int life, int strengh, int endurance,
			int dexterity, Bag bag, int bonus)
	{
		super(name, life, strengh, endurance, dexterity);
		this.bag = bag;
		this.bonus = bonus;
	}

	/* Getters / Setters */
	public Bag getBag()
	{
		return this.bag;
	}

	public int getBonus()
	{
		return this.bonus;
	}

	public void setBag(Bag bag)
	{
		this.bag = bag;
	}

	/* Methodes */
	
	public void addBonus(int i){
		this.bonus += i;
	}
	
	public void useBonus(int i)
	{
		this.bonus -= i;
	}
}
